package com.chang.bootplus.service;

import com.chang.bootplus.base.utils.ApiResponse;
import com.chang.bootplus.entity.MatrixShopcart;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chang.bootplus.po.*;
import com.chang.bootplus.vo.ShopCartVO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chang
 * @since 2022-01-25
 */
public interface MatrixShopcartService extends IService<MatrixShopcart> {

    ApiResponse<Void> addShopCart(ShopCartPO po);

    ApiResponse<Void> updateShopCart(ShopCartListPO po);

    ApiResponse<Void> deleteShopCart(ShopCartIdPO po);

    ApiResponse<ShopCartVO> listShopCart(ShopCartSelPO po);

    ApiResponse<Void> payShopCart(ShopCartPayPO po);
}
